-
Home
-
WooPayments: Integrated WooCommerce Payments
-
8.6.1
-
Code
-
Classes
- Database_Cache
Total Complexity |
54 |
Dependencies |
1 |
Dependents |
15 |
Total lines |
405 |
Lines of code |
150 |
Logical lines of code |
94 |
Comment lines |
190 |
Methods |
13 |
Properties |
2 |
Methods 13
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
should_refresh_cache() |
A |
50 |
15 |
29 |
get_ttl() |
A |
48 |
12 |
35 |
get_or_add() |
A |
53 |
8 |
23 |
get() |
S |
63 |
5 |
10 |
delete_by_prefix() |
S |
62 |
3 |
10 |
write_to_cache() |
S |
62 |
2 |
11 |
delete() |
S |
71 |
2 |
6 |
get_from_cache() |
S |
67 |
2 |
8 |
__construct() |
S |
81 |
1 |
3 |
init_hooks() |
S |
79 |
1 |
3 |
add() |
S |
79 |
1 |
3 |
disable_refresh() |
S |
81 |
1 |
3 |
is_expired() |
S |
69 |
1 |
6 |